package com.andy.common.db

import com.andy.common.db.repository.UserRepository


/**
 * Author:Andy
 * Date:2023/3/21 17:12
 * Description:RepositoryProvider用于管理不同仓库
 */
object DBRepository {
    /**
     * 得到用户仓库
     */
    fun providerUserRepository(): UserRepository {
        return UserRepository.getInstance(AppDB.getInstance().userDao())
    }
}